﻿using System.Collections.Generic;

namespace Xc.DataAccess.Protocoals.WaterMeters.Models.Requests
{
    /// <summary>
    /// 设置囤积量报警量
    /// </summary>
    public class SetAlarmVolumeRequest : MeterFrameTxBase, IUnit
    {
        /// <summary>
        /// 单位ID
        /// </summary>
        public byte UnitId { get; set; }

        internal  protected override DataSegment DataSegment => DataSegment.SetAlarmVolume;

       internal protected override FrameCommand Cmd => FrameCommand.CMD04;

        protected override void GetDataArea(List<byte> vs)
        {
            throw new System.NotImplementedException();
        }
        /// <summary>
        /// 囤积量
        /// </summary>
        public decimal StockFlow { get; set; }
        /// <summary>
        /// 报警量
        /// </summary>
        public byte Alarm { get; set; }
    }
}
